class_name PlayerData
extends Resource



@export var max_health: int
@export var health: int
@export var speed: int
@export var scale: float
@export var gold: int
@export var bullet_damage: int
@export var bullet_speed: int
@export var bullet_radius: int
@export var bullet_knockback_force: int
@export var gun_fire_rate: int
@export var gun_fire_bullet_count: int

@export var max_score: int:
    set(value):
        if value <= max_score: return
        max_score = value

@export var max_kill_count: int:
    set(value):
        if value <= max_kill_count: return
        max_kill_count = value

